package com.gitee.ywj1352.learning.ag.eureka;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Created by ywj on 2018/2/6.
 */
@SpringBootApplication
@EnableEurekaServer
public class EurekaBootstrap {
    /**
     * 注意点:
     * 1.报名要对
     * 2.类不能同名 EurekaSeverBootstrap 源码中有类
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(EurekaBootstrap.class,args);
    }
}
